@font-face {
  font-family: "Din";
  src: url(../../resource/font/DINPro-Bold.ttf);
}

body {
  margin: 0;
  background-color: #000;
  color: #fff;
  font-family: "Din", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 24px;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

a {
  color: #ff0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
  text-transform: uppercase;
}

canvas {
  display: block;
}

a,
button,
input,
select {
  pointer-events: auto;
}

.mask-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: none;
}

.mask-wrapper .mask {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.mask .mask-div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mask-div .mask-icon {
  width: 64px;
  height: 64px;
  background: url(../../loading.png) no-repeat center;
  background-size: contain;
  animation: spin 1s infinite linear;
}

.mask-div .mask-text {
  color: #c29654;
  font: bold 18px Arial, Helvetica, sans-serif;
}

.building-menus-wrapper {
  position: fixed;
  top: 150px;
  left: 0;
  color: #09a3d0;
  display: none;
}

.in-building > div,
.in-floor > div {
  width: 100px;
  padding: 10px 20px;
  margin: 10px 0;
  font-size: 16px;
  background: linear-gradient(90deg, #0d3d51, transparent);
  cursor: pointer;
}

.in-building .selected,
.in-building > div:hover,
.in-floor .selected,
.in-floor > div:hover {
  color: #ff2;
  background: linear-gradient(90deg, #30340e, transparent);
}

.building-menus-wrapper .in-floor,
.building-menus-wrapper .floor-objects {
  display: none;
}

.floor-objects {
  position: absolute;
  width: 200px;
  margin-top: -170px;
  left: 150px;
  color: #cdcdcd;
}

.floor-objects > div {
  display: flex;
  align-items: center;
  margin: 5px;
  cursor: pointer;
}

.floor-objects > div:hover,
.floor-objects .selected {
  color: #ff2;
}

.floor-select-wrapper {
  position: fixed;
  top: 100px;
  display: none;
}

.floor-select-wrapper > div {
  font-size: 18px;
  font-weight: bold;
  color: #656565;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid;
}

.floor-select-wrapper > div > div {
  margin: 10px;
  background-image: url(../../resource/images/floor-normal.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  padding-left: 30px;
  height: 20px;
  line-height: 20px;
  cursor: pointer;
}

.floor-select > div:hover,
.floor-select-wrapper .selected {
  background-image: url(../../resource/images/floor-selected.png);
  color: #ff2;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(180deg);
  }
}
